package com.cnsuning.jobtool.controller;

import com.cnsuning.jobtool.service.CostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ==========================
 * Created with IntelliJ IDEA.
 * User: 徐兴兴
 * Date: 2019/5/30
 * Time: 17:48
 * ==========================
 */
@Controller
@RequestMapping("cost")
public class CostController
{
	@Autowired
	private CostService costService;

	@RequestMapping("findAll")
	@ResponseBody
	public Object findAll()
	{
		return costService.findAll();
	}

}
